package com.epoint.spring.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@RestController
public class HelloController {

    @RequestMapping("/hello/{id}")
    public void dd(@PathVariable String id){
        log.info("我是谁{}, id={}", "纪宽豪", id);
        log.error("我是报错{}", id);
        log.debug("我是Debug{}", id);
    }

}
